﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GKQC.DbHelper.ErpDbModels
{
    /// <summary>
    /// 料件检验项目AQL设定作业
    /// </summary>
    [SugarTable("qcd_view")]
    public class qcd_view
    {
        /// <summary>
        /// 料件编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string qcd01 { get; set; }
        /// <summary>
        /// 检验项目
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string qcd02 { get; set; }     
        /// <summary>
        /// 检验项目缺点等级  1:CR 严重缺陷 2:MA 主要缺陷 3:MI 次要缺陷
        /// </summary>
        public string qcd03 { get; set; }                            
        /// <summary>
        /// AQL 允收水准
        /// </summary>
        public string qcd04 { get; set; }                            
        /// <summary>
        /// 检验方式
        /// </summary>
        public string qcd05 { get; set; }                           
        /// <summary>
        /// 下限
        /// </summary>
        public double qcd061 { get; set; }                           
        /// <summary>
        /// 上限
        /// </summary>
        public double qcd062 { get; set; }               
        /// <summary>
        /// 是否录入明细测量值
        /// </summary>
        public string qcd07 { get; set; }       
        /// <summary>
        /// 资料有效码
        /// </summary>
        public string qcdacti { get; set; }   
        /// <summary>
        /// 品管类型
        /// </summary>
        public string qcd08 { get; set; }
        /// <summary>
        /// 客户代号
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string qcdud01 { get; set; }

        /// <summary>
        /// 检验项目(检测系统)
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string ItemCode { get; set; }

    }
}
